﻿using UnityEngine;
using System.Collections;

public class TileInfo : MonoBehaviour {

	public TILESTYLE currentTileStyle;

	public Material[] tileMaterials;

	public void UpdateMaterial() {
		renderer.material = tileMaterials [(int)currentTileStyle];
	}
}
